package com.jmlee.service.impl;

import com.jmlee.mapper.OrderItemsMapper;
import com.jmlee.pojo.OrderItems;
import com.jmlee.service.OrderItemsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description
 * @Author jmLee
 * @Date 2021/3/12 16:19
 * @Version 1.0
 */
@Service
public class OrderItemsServiceImpl implements OrderItemsService {

    @Autowired
    private OrderItemsMapper orderItemsMapper;

    @Override
    public Long addOrderItem(OrderItems orderItems) {

        return orderItemsMapper.insertOrderItem(orderItems);
    }

}
